<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>消息窗口的使用</title>
		<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js"></script>
		<link rel="stylesheet" href="../js/easyui/themes/icon.css" />
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
		
		<script type="text/javascript">
			
			//页面加载完后
			$(function(){
			/*//警告窗口
			$.messager.alert('警告','请勿浏览','warning');  */
			
			//确认消息窗口
			/*$.messager.confirm('提示', 'Are you sure to exit this system?', function(r){
				if (r){
					alert("确认退出")
				} else{
					alert("继续游戏")
				}
			});*/
			
			//显示进度条
			/*$.messager.progress({
			title:"游戏加载中",
			interval:2000
			}); 
			
			window.setTimeout("$.messager.progress('close');",5000);*/
			
			//右下角显示窗口
			
			$.messager.show({  	
			  title:'打折大促销',  	
			  msg:'5秒后关闭',  	
			  timeout:5000,  	 
			});  

			})
		</script>
		
	</head>
	<body>

	</body>

</html>